let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n174,
                    i =
                    (this && this.__extends) ||
                    ((_n174 = function n(t, e) {
                            return (_n174 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n174(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.TimerItem = void 0);
                var r = (function(t) {
                    function e() {
                        return (null !== t && t.apply(this, arguments)) || this;
                    }
                    return (
                        i(e, t),
                        (e.prototype.init = function(t, e, o, n) {
                            void 0 === o && (o = 0),
                                void 0 === n && (n = -1),
                                (this._time = 0),
                                (this._callback = t),
                                (this._target = e),
                                (this._delay = o),
                                (this._repeat = n);
                        }),
                        (e.prototype.update = function(t) {
                            this.isDestroy ||
                                (0 != this._repeat &&
                                    ((this._time += t),
                                        this._time >= this._delay &&
                                        ((this._time -= this._delay),
                                            this._callback.call(this._target, t),
                                            this._repeat > 0 && this._repeat--)));
                        }),
                        Object.defineProperty(e.prototype, 'finshed', {
                            get: function get() {
                                return 0 == this._repeat;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        Object.defineProperty(e.prototype, 'time', {
                            get: function get() {
                                return this._time;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        Object.defineProperty(e.prototype, 'target', {
                            get: function get() {
                                return this._target;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        Object.defineProperty(e.prototype, 'callback', {
                            get: function get() {
                                return this._callback;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        Object.defineProperty(e.prototype, 'delay', {
                            get: function get() {
                                return this._delay;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        Object.defineProperty(e.prototype, 'repeat', {
                            get: function get() {
                                return this._repeat;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        (e.prototype.reset = function() {
                            (this._target = null), (this._callback = null);
                        }),
                        (e.prototype.onDestroy = function() {
                            t.prototype.onDestroy.call(this), this.reset();
                        }),
                        e
                    );
                })(t('AbsObject').AbsObject);
                (o.TimerItem = r), console.log("end");
            module.exports =  e.exports;